@(images:List[models.cms.CMSImage])

var tinyMCEImageList = new Array(
        // Name, URL
    @for(i<-0 to images.size()-2) {
            ["@images(i).title", "@routes.Frontend.image(images(i).name)"],
    }
    ["@images(images.size()-1).title", "../image/@images(images.size()-1).name"]
);